<#if theme?? && theme=="1">
<#-- type=1 -->
<div class="xs-minpage">
<ul>
	<li class="pagenum">${currentPage}/${totalPage}</li>
	<li class="${(currentPage==1)?string('disable','')}"><a class="l_page" href="${(currentPage==1)?string('javascript:void(0);',preUrl)}">上一页</a></li>
	<li class="${(currentPage==totalPage)?string('disable','')}"><a class="r_page" href="${(currentPage==totalPage)?string('javascript:void(0);',nextUrl)}">下一页</a></li>
</ul>
</div>
<#else>
<#-- type=0 or null -->
<div class="Pagecon">
<div class="Pagenum">
	<#if currentPage &gt; 1 >
	<a href="${preUrl}" class="pre-page">上一页</a>
	<#else>
	<a href="javascript:void(0);" class="pre-page pre-disable">上一页</a>
	</#if>
    <#if currentPage == 1 >
	<span class="curpage">1</span>
	<#else>
	<a href="${firstUrl}">1</a>
	</#if>
    <#if (currentPage-2) &gt; leftStep>
	<span class="elli">...</span>
	</#if>
	<#list pageUrls as pageUrl>
	<#if pageUrl == "currentPage">
	<span class="curpage">${currentPage}</span>
	<#else>
	<a href="${pageUrl}">${pageIndex[pageUrl_index]}</a>
	</#if>
	</#list>
	<#if (currentPage + rightStep +1) &lt; totalPages>
	<span class="elli">...</span>
	</#if>
	<#if totalPages &gt; 1 >
	<#if totalPages == currentPage >
	<span class="curpage">${totalPages}</span>
	<#else>
	<a href="${lastUrl}">${totalPages}</a>
	</#if>
	</#if>
	<#if currentPage &lt; totalPages >
	<a href="${nextUrl}" class="next-page">下一页</a>
	<#else>
	<a href="javascript:void(0);" class="next-page next-disable">下一页</a>
	</#if>
</div>
<div class="Pageopt">
    <div class="totalnum">
        共<span>${totalPages}</span>页
    </div>
    <div class="gotopage">
    <form action="${nopageUrl}" method="get" autocomplete="off">
    <#if inputParamMap??>
    	<#list inputParamMap?keys as key>
    		<#list inputParamMap[key] as inputParam>
    			<input type="hidden" name="${key}" value="${inputParam?html}" />
    		</#list>
    	</#list>
    </#if>
        至第<input type="text" class="txt-input" maxlength="3" value="${(currentPage lt totalPages)?string(currentPage+1,1)}" name="p" title="指定页码"/>页<button type="submit" class="page-btn" tilte="指定页码">确定</button>
    </form>
    </div>
</div>
</div>
</#if>